<?php
/**
 * Created by PhpStorm.
 * User: gxk
 * Date: 2019/4/15
 * Time: 10:21
 */
//defined('slim') or exit('访问不合法');
define('BASE_PATH',dirname(dirname(__DIR__)));//根路径
define('BASE_PATH_PUBLIC',BASE_PATH.'/'.'public');
define('BASE_PATH_VIEW',BASE_PATH_PUBLIC.'/'.'views');//默认视图存放路径
define('BASE_PATH_JS','/data/js');//默认js存放路径
define('BASE_PATH_CSS','/data/css');//默认js存放路径

define('BASE_URL',C('url'));//网站url
define('BASE_URL_JS',BASE_URL.'/public/views/index/js');//默认js存放url路径
define('BASE_URL_CSS',BASE_URL.'/public/views/index/css');//默认css存放url路径